package com.yanlight.app.controller;

import com.yanlight.app.request.ShopMemberQueryRequest;
import com.yanlight.app.service.ShopMemberService;
import com.yanlight.support.http.Response;
import com.yanlight.util.ResponseUtil;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author wangfang
 * @time 17-12-8.
 */
@RestController
@RequestMapping("/shopMember")
public class ShopMemberController {
    @Autowired
    private ShopMemberService shopMemberService;

    @PostMapping("/list")
    private Response list(ShopMemberQueryRequest request){
        return ResponseUtil.success();
    }

    @PostMapping("/detail")
    private Response detail(Integer id){
        return ResponseUtil.success();
    }

    @PostMapping("/updateStatus")
    private Response updateStatus(Integer id,Integer status){
        return ResponseUtil.success();
    }
}
